package com.freesun.sys.service;

import com.freesun.sys.domain.Role;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 郑枫
 * @since 2019-10-21
 */
public interface RoleService extends IService<Role> {

	List<Integer> queryRolePermissionIdsByRid(Integer roleId);

	void saveRolePermission(Integer rid, Integer[] ids);

	List<Integer> queryUserRoleIdsByUid(Integer id);

}
